package can.bishe.modules.senic.service;

import can.bishe.modules.senic.entity.SenicInfoEntity;
import com.baomidou.mybatisplus.service.IService;
import can.bishe.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

/**
 * 景点信息
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-03-27 20:23:41
 */
public interface SenicInfoService extends IService<SenicInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    String SavaImgfile(MultipartFile senicImgOne);
    /**
     * 获取推荐景区列表
     * @return
     */
    List<SenicInfoEntity> recomList(@Param("nums") Integer nums);
    /**
     * 获取全部景区列表
     * @return
     */
    List<SenicInfoEntity> allInfoList(String senicName, String placeName);
    /**
     * 获取全部景地列表
     * @return
     */
    List<String> allPlaceInfoList();
    /**
     * 获取筛选景地列表
     * @return
     */
    List<SenicInfoEntity> getSearchList(Map<String,String> params);
    /**
     * 获取景点详情信息
     * @return
     */
    SenicInfoEntity getSenicInfo(Long id);
}

